<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script type="text/javascript">
		/*
		 
		 * */
		
		window.onload = function(){
			
			console.log(document.documentElement.clientWidth);
			console.log(document.documentElement.clientHeight);
			
			
			window.onresize = function(){
				
				console.log(document.documentElement.clientWidth);
				console.log(document.documentElement.clientHeight);
			}
			
			
			
		}
	</script>
</html>
